package com.muhuahealth.service.impl;

import com.muhuahealth.dao.RecordTypeDao;
import com.muhuahealth.entity.EventRecordEntity;
import com.muhuahealth.entity.RecordTypeEntity;
import com.muhuahealth.service.RecordTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author GSK
 * @version 1.0
 * @date 2021/4/17 18:00
 */
@Service
public class RecordTypeServiceImpl implements RecordTypeService {

    @Autowired
    RecordTypeDao recordTypeDao;

    @Override
    public List<RecordTypeEntity> getAllTypesByCondition(Object obj) {

        return recordTypeDao.getAllTypesByCondition(obj);
    }
}
